Bug 553585 – Add orientation API to GtkRuler
authorMichael Natterer <mitch@imendio.com>
Thu, 2 Oct 2008 15:13:23 +0000 (15:13 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Thu, 2 Oct 2008 15:13:23 +0000 (15:13 +0000)
commit2accfccc90b76bc5730875a5ed87a5ea4cd8940c
treeb93efbe6b3c4a70bb2fcd07a26c453de08fab76b
parent0697bb7942fdfc23103dc35b1e3ff5a492931b72
Bug 553585 – Add orientation API to GtkRuler

2008-10-02  Michael Natterer  <mitch@imendio.com>

Bug 553585 – Add orientation API to GtkRuler

* gtk/gtkruler.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
which takes a GtkOrientation argument.

* gtk/gtkhruler.c
* gtk/gtkvruler.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_ruler_new().

svn path=/trunk/; revision=21565
ChangeLog
gtk/gtk.symbols
gtk/gtkhruler.c
gtk/gtkruler.c
gtk/gtkruler.h
gtk/gtkvruler.c